package main

import (
	beego "github.com/beego/beego/v2/server/web"
	"user-man/appconfig"
	"user-man/cache"
	"user-man/models"
	_ "user-man/routers"
)

func main() {
	appconfig.Init()
	//1-初始化配置文件
	models.Init()
	//2-连接mysql
	cache.Init()
	//3-连接redis
	beego.Run()
}
